<?php
return [
	[
		'group' => '分类管理',
		'permissions' => [
			['title' => '添加分类', 'name' => 'Modules\Shop\Http\Controllers\CategoryController@create', 'guard' => 'admin'],
			['title' => '分类列表', 'name' => 'Modules\Shop\Http\Controllers\CategoryController@index', 'guard' => 'admin'],
			['title' => '分类编辑', 'name' => 'Modules\Shop\Http\Controllers\CategoryController@edit', 'guard' => 'admin'],
			['title' => '删除分类', 'name' => 'Modules\Shop\Http\Controllers\CategoryController@destroy', 'guard' => 'admin'],
		],
	],
    [
        'group' => '文章管理',
        'permissions' => [
            ['title' => '添加文章', 'name' => 'Modules\Shop\Http\Controllers\ArticleController@create', 'guard' => 'admin'],
			['title' => '文章列表', 'name' => 'Modules\Shop\Http\Controllers\ArticleController@index', 'guard' => 'admin'],
			['title' => '文章编辑', 'name' => 'Modules\Shop\Http\Controllers\ArticleController@edit', 'guard' => 'admin'],
			['title' => '删除文章', 'name' => 'Modules\Shop\Http\Controllers\ArticleController@destroy', 'guard' => 'admin'],
        ],
    ],
	[
		'group' => '标签管理',
		'permissions' => [
			['title' => '添加标签', 'name' => 'Modules\Shop\Http\Controllers\TagController@create', 'guard' => 'admin'],
			['title' => '标签列表', 'name' => 'Modules\Shop\Http\Controllers\TagController@index', 'guard' => 'admin'],
			['title' => '标签编辑', 'name' => 'Modules\Shop\Http\Controllers\TagController@edit', 'guard' => 'admin'],
			['title' => '删除标签', 'name' => 'Modules\Shop\Http\Controllers\TagController@destroy', 'guard' => 'admin'],
		],
	],
	[
		'group' => '友情链接管理',
		'permissions' => [
			['title' => '添加友链', 'name' => 'Modules\Shop\Http\Controllers\FriendController@create', 'guard' => 'admin'],
			['title' => '友链列表', 'name' => 'Modules\Shop\Http\Controllers\FriendController@index', 'guard' => 'admin'],
			['title' => '友链编辑', 'name' => 'Modules\Shop\Http\Controllers\FriendController@edit', 'guard' => 'admin'],
			['title' => '删除友链', 'name' => 'Modules\Shop\Http\Controllers\FriendController@destroy', 'guard' => 'admin'],
		],
	],
];
